package com.skillworld.webapp.model.tutorialservice;

import java.util.ArrayList;
import java.util.List;
import java.util.StringTokenizer;

public class Query 
{
    public static List<String> parseQuery(String query)
    {
        StringTokenizer tokenizer = new StringTokenizer(query);
        
        List<String> keywords = new ArrayList<String>();
        while (tokenizer.hasMoreTokens())
        { keywords.add(tokenizer.nextToken()); }
        
        return keywords;
    }
}
